package org.hive.testserver.domain.util;

import java.util.Date;

public class Clock {

	private static final Clock INSTANCE = new Clock();
	
	public static Clock getInstance() {
		return INSTANCE;
	}
	
	public Clock() {
		super();
	}
	
	public long currentTimeMillis() {
		return System.currentTimeMillis();
	}

	public Date date() {
		return new Date(currentTimeMillis());
	}
}
